import requests

# 执行api调用并存储响应数据
url = 'https://api.github.com/search/repositories?q=language:python&sort=stars'
request = requests.get(url)

print("Status code",request.status_code)

# 将响应存储在一个变量中
response_dict = request.json()

# 处理结果
print(response_dict.keys())